<?php
/**
 * Created by 荣耀电竞.
 * User: 林子彦 <278805354@qq.com>
 * Date: 2018/8/4 0004
 * Time: 14:11
 */
namespace App\Shop\Controllers;
use App\Base\Controllers\Controller;
use App\Shop\Contracts\GoodsClassInterface;
use Illuminate\Http\Request;
class GoodsClassController extends Controller
{
    /**
     * 获取产品接口操作类
     * @return GoodsClassInterface
     */
    public function getGoodsClassInterface()
    {
        return app()->make(GoodsClassInterface::class);
    }

    /**
     * 分类列表
     * @param Request $request
     * @return $this
     */
    public function index(Request $request){
        return $this->getGoodsClassInterface()->getGoodsClassList([]);
    }



}